package com.iplant.aps.service.po.wms;

import java.io.Serializable;
import java.util.Calendar;

/**
 * 工艺变更退料
 *
 * @author YouWang·Peng
 * 2023-3-22 14:10:20
 */
public class WMSTechMaterialReturn implements Serializable {

    /**
     * 序列号
     */
    private static final long serialVersionUID = 1L;
    /**
     * 主键
     */
    public int ID = 0;

    /**
     * 工艺变更单ID
     */
    public int TaskID = 0;
    /**
     * 工艺变更单号
     */
    public String TaskCode = "";

    /**
     * 配送单明细ID
     */
    public int WMSPickDemandItemID = 0;
    /**
     * 待退料数量
     */
    public double MaterialNumber = 0.0;

    //辅助属性
    /**
     * 配送单号
     */
    public String DemandNo = "";
    /**
     * WBS元素(项目号)
     */
    public String WBSNo = "";
    /**
     * 车型
     */
    public String ProductNo = "";
    /**
     * 车型ID
     */
    public int ProductID = 0;
    /**
     * 修程
     */
    public String LineName = "";
    /**
     * 修程ID
     */
    public int LineID = 0;
    /**
     * 局段
     */
    public String CustomerName = "";
    /**
     * 局段ID
     */
    public int CustomerID = 0;
    /**
     * 车号
     */
    public String PartNo = "";
    /**
     * 订单ID
     */
    public int OrderID = 0;
    /**
     * 工位
     */
    public String PartName = "";
    /**
     * 工位ID
     */
    public int PartID = 0;
    /**
     * 工序
     */
    public String PartPointName = "";
    /**
     * 工序ID
     */
    public int PartPointID = 0;
    /**
     * 来源
     */
    public String SourceText = "";
    /**
     * 物料编码
     */
    public String MaterialNo = "";
    /**
     * 物料名称
     */
    public String MaterialName = "";
    /**
     * 物料ID
     */
    public int MaterialID = 0;
    /**
     * 单位ID
     */
    public int UnitID = 0;
    /**
     * 单位
     */
    public String UnitText = "";
    /**
     * 已拣数
     */
    public double PickedNumber = 0.0;
    /**
     * 必换偶换
     */
    public int ReplaceType = 0;
    /**
     * 必换偶换
     */
    public String ReplaceTypeText = "";
    /**
     * 必修偶修
     */
    public int OutSourceType = 0;
    /**
     * 必修偶修
     */
    public String OutSourceTypeText = "";
    /**
     * 评估类型
     */
    public String AssessmentType = "";
    /**
     * WMS批次号
     */
    public String BatchNumber = "";
    /**
     * 生产日期
     */
    public Calendar ProductTime = Calendar.getInstance();


    public WMSTechMaterialReturn() {
        super();
    }

    public WMSTechMaterialReturn(int ID, int taskID, int WMSPickDemandItemID, double materialNumber, int orderID,
                                 int partPointID) {
        this.ID = ID;
        TaskID = taskID;
        this.WMSPickDemandItemID = WMSPickDemandItemID;
        MaterialNumber = materialNumber;
        OrderID = orderID;
        PartPointID = partPointID;
    }

    public int getID() {
        return ID;
    }

    public void setID(int ID) {
        this.ID = ID;
    }

    public int getWMSPickDemandItemID() {
        return WMSPickDemandItemID;
    }

    public void setWMSPickDemandItemID(int WMSPickDemandItemID) {
        this.WMSPickDemandItemID = WMSPickDemandItemID;
    }

    public double getMaterialNumber() {
        return MaterialNumber;
    }

    public void setMaterialNumber(double materialNumber) {
        MaterialNumber = materialNumber;
    }

    public String getDemandNo() {
        return DemandNo;
    }

    public void setDemandNo(String demandNo) {
        DemandNo = demandNo;
    }

    public String getWBSNo() {
        return WBSNo;
    }

    public void setWBSNo(String WBSNo) {
        this.WBSNo = WBSNo;
    }

    public String getProductNo() {
        return ProductNo;
    }

    public void setProductNo(String productNo) {
        ProductNo = productNo;
    }

    public int getProductID() {
        return ProductID;
    }

    public void setProductID(int productID) {
        ProductID = productID;
    }

    public String getLineName() {
        return LineName;
    }

    public void setLineName(String lineName) {
        LineName = lineName;
    }

    public int getLineID() {
        return LineID;
    }

    public void setLineID(int lineID) {
        LineID = lineID;
    }

    public String getCustomerName() {
        return CustomerName;
    }

    public void setCustomerName(String customerName) {
        CustomerName = customerName;
    }

    public int getCustomerID() {
        return CustomerID;
    }

    public void setCustomerID(int customerID) {
        CustomerID = customerID;
    }

    public String getPartNo() {
        return PartNo;
    }

    public void setPartNo(String partNo) {
        PartNo = partNo;
    }

    public int getOrderID() {
        return OrderID;
    }

    public void setOrderID(int orderID) {
        OrderID = orderID;
    }

    public String getPartName() {
        return PartName;
    }

    public void setPartName(String partName) {
        PartName = partName;
    }

    public int getPartID() {
        return PartID;
    }

    public void setPartID(int partID) {
        PartID = partID;
    }

    public String getPartPointName() {
        return PartPointName;
    }

    public void setPartPointName(String partPointName) {
        PartPointName = partPointName;
    }

    public int getPartPointID() {
        return PartPointID;
    }

    public void setPartPointID(int partPointID) {
        PartPointID = partPointID;
    }

    public String getSourceText() {
        return SourceText;
    }

    public void setSourceText(String sourceText) {
        SourceText = sourceText;
    }

    public String getMaterialNo() {
        return MaterialNo;
    }

    public void setMaterialNo(String materialNo) {
        MaterialNo = materialNo;
    }

    public String getMaterialName() {
        return MaterialName;
    }

    public void setMaterialName(String materialName) {
        MaterialName = materialName;
    }

    public int getMaterialID() {
        return MaterialID;
    }

    public void setMaterialID(int materialID) {
        MaterialID = materialID;
    }

    public int getUnitID() {
        return UnitID;
    }

    public void setUnitID(int unitID) {
        UnitID = unitID;
    }

    public String getUnitText() {
        return UnitText;
    }

    public void setUnitText(String unitText) {
        UnitText = unitText;
    }

    public double getPickedNumber() {
        return PickedNumber;
    }

    public void setPickedNumber(double pickedNumber) {
        PickedNumber = pickedNumber;
    }

    public int getReplaceType() {
        return ReplaceType;
    }

    public void setReplaceType(int replaceType) {
        ReplaceType = replaceType;
    }

    public String getReplaceTypeText() {
        return ReplaceTypeText;
    }

    public void setReplaceTypeText(String replaceTypeText) {
        ReplaceTypeText = replaceTypeText;
    }

    public int getOutSourceType() {
        return OutSourceType;
    }

    public void setOutSourceType(int outSourceType) {
        OutSourceType = outSourceType;
    }

    public String getOutSourceTypeText() {
        return OutSourceTypeText;
    }

    public void setOutSourceTypeText(String outSourceTypeText) {
        OutSourceTypeText = outSourceTypeText;
    }

    public String getAssessmentType() {
        return AssessmentType;
    }

    public void setAssessmentType(String assessmentType) {
        AssessmentType = assessmentType;
    }

    public String getBatchNumber() {
        return BatchNumber;
    }

    public void setBatchNumber(String batchNumber) {
        BatchNumber = batchNumber;
    }

    public Calendar getProductTime() {
        return ProductTime;
    }

    public void setProductTime(Calendar productTime) {
        ProductTime = productTime;
    }

    public int getTaskID() {
        return TaskID;
    }

    public void setTaskID(int taskID) {
        TaskID = taskID;
    }

    public String getTaskCode() {
        return TaskCode;
    }

    public void setTaskCode(String taskCode) {
        TaskCode = taskCode;
    }
}
